package com.jlnx.pojo;

import java.math.BigDecimal;

/*
 * 核心企业类
 */
public class CoreEnterprise extends Enterprise{

	private BigDecimal limit;//限额
	private BigDecimal creditLimit;//总信用额度
	private BigDecimal remainLimit;//剩余额度
	private int status;//经营情况(1.良好 2.不良)
	private BigDecimal property;//资产
	private BigDecimal sales;//一年销售额
	private int instatus;//准入状态（1.未准入 2.待审核 3.已准入）

	
	
	public CoreEnterprise(Enterprise e) {
		super(e.getEntNo(),e.getName(), e.getEntCodeCredit(), e.getPhoneNo());
	}

	public CoreEnterprise(String entNo,String name, String entCodeCredit, String phoneNo, BigDecimal limit,
			BigDecimal creditLimit, BigDecimal remainLimit, int status, BigDecimal property, BigDecimal sales,
			int instatus) {
		super(entNo,name,entCodeCredit, phoneNo);
		this.limit = limit;
		this.creditLimit = creditLimit;
		this.remainLimit = remainLimit;
		this.status = status;
		this.property = property;
		this.sales = sales;
		this.instatus = instatus;
	}

	public BigDecimal getLimit() {
		return limit;
	}

	public void setLimit(BigDecimal limit) {
		this.limit = limit;
	}

	public BigDecimal getCreditLimit() {
		return creditLimit;
	}

	public void setCreditLimit(BigDecimal creditLimit) {
		this.creditLimit = creditLimit;
	}

	public BigDecimal getRemainLimit() {
		return remainLimit;
	}

	public void setRemainLimit(BigDecimal remainLimit) {
		this.remainLimit = remainLimit;
	}

	public int getStatus() {
		return status;
	}

	public void setStatus(int status) {
		this.status = status;
	}

	public BigDecimal getProperty() {
		return property;
	}

	public void setProperty(BigDecimal property) {
		this.property = property;
	}

	public BigDecimal getSales() {
		return sales;
	}

	public void setSales(BigDecimal sales) {
		this.sales = sales;
	}

	public int getInstatus() {
		return instatus;
	}

	public void setInstatus(int instatus) {
		this.instatus = instatus;
	}
	

}
